home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 4: GNU Archives / Linux Cubed Series 4 - GNU Archives.iso / gnu / git-4.3 / git-4 / git-4.3.11 / term / Makefile.in < prev   
Encoding:
Makefile  |  1996-06-06  |  2.8 KB  |  123 lines

  1. ###
  2. ### Makefile for GNU Interactive Tools
  3. ###
  4.  
  5. ###
  6. ### Copyright (C) 1993, 1994, 1995, 1996 Free Software Foundation, Inc.
  7. ###
  8. ### This program is  free software; you can  redistribute it and/or modify
  9. ### it under the terms  of the GNU General Public  License as published by
  10. ### the  Free Software Foundation; either version  2,  or (at your option)
  11. ### any later version.
  12. ### 
  13. ### This program is distributed  in the hope that  it will be  useful, but
  14. ### WITHOUT    ANY  WARRANTY;  without   even   the  implied  warranty  of
  15. ### MERCHANTABILITY  or  FITNESS FOR  A PARTICULAR   PURPOSE.  See the GNU
  16. ### General Public License for more details.
  17. ### 
  18. ### You should  have received a  copy of  the GNU  General Public  License
  19. ### along with   this  program; if   not,  write  to   the Free   Software
  20. ### Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  21. ###
  22.  
  23.  
  24. PRODUCT        = "@PRODUCT@"
  25. VERSION        = "@VERSION@"
  26.  
  27.  
  28. srcdir        = @srcdir@
  29. VPATH        = @srcdir@
  30.  
  31. prefix        = @prefix@
  32. termlib        = $(prefix)/lib
  33. termlibgit    = $(prefix)/lib/git
  34. termdir        = $(prefix)/lib/git/term
  35.  
  36. SHELL        = /bin/sh
  37. INSTALL        = @INSTALL@
  38. INSTALL_PROGRAM    = @INSTALL_PROGRAM@
  39. INSTALL_DATA    = @INSTALL_DATA@
  40. HOST        = @HOST@
  41.  
  42.  
  43. GIT_TERMS    = .gitrc.thix .gitrc.linux .gitrc.vt100 .gitrc.vt102\
  44.           .gitrc.xterm .gitrc.hpterm .gitrc.ansi .gitrc.generic\
  45.           .gitrc.common .gitrc.minix .gitrc.aixterm .gitrc.hft
  46.  
  47. GIT_GENERICS    = .gitrc.sun .gitrc.sun-cmd
  48.  
  49. GIT_XTERMS    = .gitrc.xterms
  50.  
  51. GIT_HPTERMS    = .gitrc.hp
  52.  
  53. GIT_VT100S    = .gitrc.vt125 .gitrc.vt200 .gitrc.vt201 .gitrc.vt220\
  54.           .gitrc.vt240 .gitrc.vt300 .gitrc.vt320 .gitrc.vt400\
  55.           .gitrc.vt420
  56.  
  57. GIT_LINUXS    = .gitrc.console
  58.  
  59. all:
  60.  
  61. installdirs:
  62.     $(srcdir)/../mkinstalldirs $(termlib) $(termlibgit) $(termdir)
  63.  
  64. install-strip: install
  65.  
  66. install: all install-only
  67.  
  68. install-only:
  69.     for i in $(GIT_TERMS);\
  70.     do\
  71.         $(INSTALL_DATA) $(srcdir)/$$i $(termdir)/$$i;\
  72.     done
  73.     \
  74.     for i in $(GIT_XTERMS);\
  75.     do\
  76.         rm -f $(termdir)/$$i;\
  77.         ln $(termdir)/.gitrc.xterm $(termdir)/$$i;\
  78.     done
  79.     \
  80.     for i in $(GIT_HPTERMS);\
  81.     do\
  82.         rm -f $(termdir)/$$i;\
  83.         ln $(termdir)/.gitrc.hpterm $(termdir)/$$i;\
  84.     done
  85.     \
  86.     for i in $(GIT_GENERICS);\
  87.     do\
  88.         rm -f $(termdir)/$$i;\
  89.         ln $(termdir)/.gitrc.generic $(termdir)/$$i;\
  90.     done
  91.     \
  92.     for i in $(GIT_VT100S);\
  93.     do\
  94.         rm -f $(termdir)/$$i;\
  95.         ln $(termdir)/.gitrc.vt100 $(termdir)/$$i;\
  96.     done
  97.     \
  98.     for i in $(GIT_LINUXS);\
  99.     do\
  100.         rm -f $(termdir)/$$i;\
  101.         ln $(termdir)/.gitrc.linux $(termdir)/$$i;\
  102.     done
  103.  
  104. uninstall:
  105.     -cd $(termdir) &&\
  106.     rm -f $(GIT_TERMS) $(GIT_GENERICS) $(GIT_LINUXS)\
  107.           $(GIT_XTERMS) $(GIT_HPTERMS) $(GIT_VT100S)
  108.  
  109. clean:
  110.     -rm -f *~ core* tutu* gogu*
  111.  
  112. mostlyclean: clean
  113.  
  114. distclean: clean
  115.     -rm -f Makefile config.status config.log config.cache
  116.  
  117. realclean: distclean
  118.  
  119.  
  120. # Tell version [3.59,3.63) of GNU make not to export all variables.
  121. # Otherwise a system limit (for SysV at least) may be exceeded.
  122. .NOEXPORT:
  123.